home *** CD-ROM | disk | FTP | other *** search
/ Die Speccy' 97 / Die Speccy' 97.iso / amiga_system / the_aminet / comm / tcp / usno_time.readme < prev   
Text File  |  1995-11-07  |  5KB  |  135 lines

  1. Short:    TCP/IP utils to set/check time from USNO
  2. Author:   Port by Rick O'Sullivan, original by USNO timekeepers.
  3. Uploader: rosully@aww.com (Rick O'Sullivan)
  4. Type:     comm/tcp
  5.  
  6.             US Naval Observatory Time Utilites for AmigaDOS
  7.             -----------------------------------------------
  8.  
  9. DESCRIPTION
  10. -----------
  11.     This is an Amiga port of routines from the US Naval Observatory.
  12.  
  13.     UTILITIY  FUNCTION                        POST ADDRESS
  14.     --------  ------------------------------- ---------------------------
  15.     timec     check time from remote service; "time"    on port    37/tcp
  16.     time_chk  check time from remote service; "timesrv" on port 22375/tcp
  17.     time_set  set   time from remote service; "timesrv" on port 22375/tcp
  18.     timesrvd  serve time to   remote client ; "timesrv" on port 22375/tcp
  19.  
  20.  
  21. REQUIREMENTS
  22. ------------
  23.     These routines were compiled and tested on an A3000 with AmigaDOS
  24. V2.1 and AmiTCP V4.2 (commercial).  The source is provided and should
  25. be easily adapted for AS225.
  26.  
  27. INSTALLATION
  28. ------------
  29.   1 Copy the utilities in usno/bin to AmiTCP:bin.
  30.   2 Copy the daemon in usno/serv to AmiTCP:serv, if you wish to serve time.
  31.   3 Add the following line to AmiTCP:db/services:
  32.  
  33.     timesrv         22375/tcp                       ; time server process
  34.  
  35. EXAMPLES
  36. --------
  37.     Set local time to USNO time using "timesrv" & port 22375/tcp:
  38.  
  39.   > time_set tick.usno.navy.mil  ; sets local time to USNO time
  40.  
  41.  
  42.     Check local time with USNO time using "timesrv" & port 22375/tcp:
  43.  
  44.   > time_chk tick.usno.navy.mil
  45.     Local Time.....: Sat Nov 04 00:36:42 1995 at aww.com
  46.     Remote Time....: Sat Nov 04 00:36:42 1995 at tick.usno.navy.mil
  47.     Local - Server.: 0 secs
  48.  
  49.  
  50.     Check local time with USNO time using "time" & port 37/tcp:
  51.  
  52.   > time_chk tick.usno.navy.mil  ; checks local time with USNO time
  53.     Local Time.....: Sat Nov 04 00:38:41 1995 at aww.com
  54.     Remote Time....: Sat Nov 04 00:38:42 1995 at tick.usno.navy.mil
  55.     Local - Server.: -1 secs
  56.  
  57. BUGS
  58. ----
  59.     I had to _reset_ my GMT offset in the Locale Preference.  If you
  60. receive funny times try changing highligt on Locale's map back and
  61. forth.
  62.  
  63. DEVELOPERS
  64. ----------
  65.     The makefiles and source for these utilities is included.  They
  66. were compiled with SAS/C V6.55.  The makefiles assume the AmiTCP
  67. development files are organized as follows:
  68.  
  69.     AmiTCP:
  70.     |
  71.     ---> AmiTCP:dev
  72.          |
  73.          ---> AmiTCP:dev/include
  74.          |
  75.          ---> AmiTCP:dev/lib
  76.          |
  77.          ---> AmiTCP:dev/src
  78.              |
  79.              ---> AmiTCP:dev/src/usno
  80.  
  81.     Note: I've moved the default location of AmiTCP:include,
  82. AmiTCP:lib and AmiTCP:src to AmiTCP:dev as a personal preference.
  83.  
  84.     These files were obtained from ftp://tycho.usno.navy.mil.
  85.  
  86.     Mia culpa, I changed the names a bit and restructured the code to
  87. suit my tastes.
  88.  
  89. ------------------------------------------------------------------------
  90. Altofirma Web Works                                Richard P. O'Sullivan
  91. http://www.aww.com/                                      rosully@aww.com
  92. ------------------------------------------------------------------------
  93.  
  94. Tick-Tock :-)
  95.  
  96.  
  97. ============================= Archive contents =============================
  98.  
  99. Original  Packed Ratio    Date     Time    Name
  100. -------- ------- ----- --------- --------  -------------
  101.       62      61  1.6% 30-Oct-95 09:44:48 +error.fix
  102.    16931    6919 59.1% 30-Oct-95 09:55:34 +Interex.paper
  103.     1434     627 56.2% 30-Oct-95 09:44:48 +Makefile.BSD
  104.     1349     679 49.6% 30-Oct-95 09:44:48 +time_set.1
  105.       60      40 33.3% 30-Oct-95 09:44:48 +time_set.log
  106.      971     440 54.6% 30-Oct-95 09:44:48 +timecheck.man
  107.     1548     683 55.8% 30-Oct-95 09:44:48 +timeset.man
  108.     1096     590 46.1% 30-Oct-95 09:44:48 +timesrv.1
  109.     1299     594 54.2% 30-Oct-95 09:44:48 +timesrv.man
  110.     1377     611 55.6% 30-Oct-95 09:44:48 +Makefile.noinstall
  111.     2177    1124 48.3% 30-Oct-95 09:44:48 +README.1ST
  112.      754     425 43.6% 30-Oct-95 09:44:48 +timecheck.1
  113.      133      96 27.8% 30-Oct-95 09:44:48 +etc.inetd.conf
  114.      562     260 53.7% 30-Oct-95 09:44:48 +TIME_SET
  115.     3913    1475 62.3% 04-Nov-95 00:00:32 +time_chk.c
  116.     7018    2233 68.1% 03-Nov-95 23:07:04 +time_set.c
  117.     4073    1520 62.6% 03-Nov-95 23:56:54 +timec.c
  118.      866     504 41.8% 04-Nov-95 00:04:44 +timesrvd.c
  119.    12032    7662 36.3% 04-Nov-95 00:03:30 +time_chk
  120.    12036    7674 36.2% 03-Nov-95 23:57:20 +timec
  121.       52      52  0.0% 30-Oct-95 09:44:48 +etc.services
  122.      230     145 36.9% 04-Nov-95 00:02:50 +makeall
  123.      746     409 45.1% 03-Nov-95 23:11:16 +makefile.time_chk
  124.      725     404 44.2% 03-Nov-95 23:28:24 +makefile.timec
  125.      747     408 45.3% 04-Nov-95 00:12:10 +makefile.timesrvd
  126.     1500     771 48.6% 04-Nov-95 00:11:44 +serv.info
  127.     2988    2051 31.3% 04-Nov-95 00:05:32 +timesrvd
  128.     2972    1090 63.3% 04-Nov-95 00:59:56 +usno_time.readme
  129.    11164    7044 36.9% 03-Nov-95 23:12:08 +time_set
  130.      540     302 44.0% 30-Oct-95 09:44:48 +cron.kill
  131.      329     222 32.5% 30-Oct-95 09:44:48 +cronfile
  132.      746     408 45.3% 03-Nov-95 23:11:22 +makefile.time_set
  133. -------- ------- ----- --------- --------
  134.    92430   47523 48.5% 04-Nov-95 07:37:38   32 files
  135.